package ProxyPattern.staticProxy;

// 接口的实现类，就是委托类
public class UserManagerImpl implements UserManager {
    @Override
    public void addUser(String userId, String userName) {
        System.out.println("UserManagerImpl.addUser run");
    }

    @Override
    public void delUser(String userId) {
        System.out.println("UserManagerImpl.delUser run");
    }

    @Override
    public String findUser(String userId) {
        System.out.println("UserManagerImpl.findUser run");
        return null;
    }

    @Override
    public void modifyUser(String userId, String userName) {
        System.out.println("UserManagerImpl.modifyUser run");
    }
}
